package com.block.channelext.model.result;

import lombok.Data;

@Data
public class ReportResult {

    private boolean success;

    private String code;

    private String message;

    private String paramInfo;

    private String resultInfo;

    public static ReportResult newInstance(){
        ReportResult reportResult = new ReportResult();
        reportResult.setSuccess(false);
        reportResult.setCode("-1");
        reportResult.setMessage("不做处理");
        return reportResult;
    }

    public static ReportResult newInstance(String paramInfo, String resultInfo){
        ReportResult reportResult = new ReportResult();
        reportResult.setSuccess(false);
        reportResult.setParamInfo(paramInfo);
        reportResult.setResultInfo(resultInfo);
        return reportResult;
    }

}
